package com.google.android.gms.maps;

import android.os.Parcel;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.maps.internal.a;
import com.google.android.gms.maps.internal.v;
import com.google.android.gms.maps.model.CameraPosition;

public final class GoogleMapOptions implements SafeParcelable {
    public static final GoogleMapOptionsCreator CREATOR = new GoogleMapOptionsCreator();
    private Boolean ZA;
    private Boolean ZB;
    private Boolean Zs;
    private Boolean Zt;
    private int Zu;
    private CameraPosition Zv;
    private Boolean Zw;
    private Boolean Zx;
    private Boolean Zy;
    private Boolean Zz;
    private final int xM;

    public GoogleMapOptions() {
        this.Zu = -1;
        this.xM = 1;
    }

    GoogleMapOptions(int versionCode, byte zOrderOnTop, byte useViewLifecycleInFragment, int mapType, CameraPosition camera, byte zoomControlsEnabled, byte compassEnabled, byte scrollGesturesEnabled, byte zoomGesturesEnabled, byte tiltGesturesEnabled, byte rotateGesturesEnabled) {
        this.Zu = -1;
        this.xM = versionCode;
        this.Zs = a.a(zOrderOnTop);
        this.Zt = a.a(useViewLifecycleInFragment);
        this.Zu = mapType;
        this.Zv = camera;
        this.Zw = a.a(zoomControlsEnabled);
        this.Zx = a.a(compassEnabled);
        this.Zy = a.a(scrollGesturesEnabled);
        this.Zz = a.a(zoomGesturesEnabled);
        this.ZA = a.a(tiltGesturesEnabled);
        this.ZB = a.a(rotateGesturesEnabled);
    }

    public int describeContents() {
        return 0;
    }

    public CameraPosition getCamera() {
        return this.Zv;
    }

    public int getMapType() {
        return this.Zu;
    }

    int getVersionCode() {
        return this.xM;
    }

    byte jq() {
        return a.c(this.Zs);
    }

    byte jr() {
        return a.c(this.Zt);
    }

    byte js() {
        return a.c(this.Zw);
    }

    byte jt() {
        return a.c(this.Zx);
    }

    byte ju() {
        return a.c(this.Zy);
    }

    byte jv() {
        return a.c(this.Zz);
    }

    byte jw() {
        return a.c(this.ZA);
    }

    byte jx() {
        return a.c(this.ZB);
    }

    public void writeToParcel(Parcel out, int flags) {
        if (v.jL()) {
            a.a(this, out, flags);
        } else {
            GoogleMapOptionsCreator.a(this, out, flags);
        }
    }
}
